package jdkDemo;

import java.io.FileInputStream;
import java.util.HashMap;
import java.util.Map;

import org.omg.CORBA.PUBLIC_MEMBER;

import sun.font.TrueTypeFont;
import sun.org.mozilla.javascript.internal.ast.ThrowStatement;

import com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable;
import com.sun.xml.internal.fastinfoset.sax.Properties;

public class Test{
	@Test
	public void test()
	{
//		Map<String,String> map=new HashMap<String,String>();
//		Map<String,String> map=new TreeMap<String,String>();
		Map<String,String> map=new Hashtable<String,String>();
		map.put("a","abc");
		map.put("b","bcd");
		map.put("a","xyz");//更新
		map.remove("b");
		System.out.println(map.get("b"));
		for(String key:map.keySet()){
			System.out.println(key+" "+map.get(key));
		}
		@Test
		public void test2()Throws Exception
		{
			Properties properties=new Properties();
			properties.put("a","abc");
			System.out.println(properties.get("a"));
			properties.load(new FileInputStream("config.properties"));
			System.out.println(properties.get("name"));
			properties.put("b","dfdd");
		}
	}
}正则表达式自负统计
制定概率得随机数的产生
P两数据处理

空格或者tab见分开id name 邮箱 相别 日期
1.scan存入set<customer>
2.自动去除不合理数据
3。格式化打印
  1.按照id排序打印
  2.按照出生日期排序打印
  3.按照id打印出xml数据  
     <customer>
		<customer id="1">
		   <name>John</name>
		   <birth>xx-xx-xx</birth>
		   <sex>True</sex>
		   <email>xx.@163.com</email>
		</customer>
	</customer>